package com.lei2j.org;

/**
 * Created by lei2j on 2018/5/10.
 */
public class A2Duck extends Duck{
    @Override
    public void display() {
        System.out.println("green....");
    }

    @Override
    public void quack() {
        System.out.println("gagaga...");
    }

    @Override
    public void fly() {
        System.out.println("玩具鸭。。。。。");
        System.out.println("no.....");
    }
}
